package com.jiazhong.commons.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("shopping_cart")
public class ShoppingCart implements Serializable {

    @TableId
    private String id;
    private String userId;
    private String bookId;
    private Integer number;
    @TableField(exist = false)
    private String imageName;
    @TableField(exist = false)
    private String name;
    @TableField(exist = false)
    private Double price;
    @TableField(exist = false)
    private String publisher;
}